<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="{url('excel/index')}">入库管理</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
        <a href="{url('excel/index')}" class="button">
            <i class="iconfont icon-xiangzuo1"></i> 返回
        </a>
    </div>
</div>
<div class="m10">
<form id="form" action="{url('excel/exceltotemp')}">
<table class="table table-border">
    <tr>
      <th>下载导入模板</th>
      <td>
      <a href="__ROOT__/uploads/fornewTemplate.xlsx">[立即下载模板]</a>
      </td>
    </tr
    <tr>
      <th>选择导入的模板:</th>
      <td>
            <input datatype="*" id="excel" class="input gray-input w300" type="text" name="excel" />
            <input type="button" class="button ui-upload" value="选择文件" />
      </td>
    </tr>
    </tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
    $('#form').forms({types:'ajax',uploads:'{url('fornew/excel/uploads',array('id'=>'excel'))}'});
})
</script>